<me:UIAB50 x:Class="WPFExcelReport.TAB50PR"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                     xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                     xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS" 
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAB50.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
    </me:UIAB50.Resources>
    <WrapPanel>
        <Button Content="{Binding Source={Localization:Translate Word=生产单}}" Click="QueryCommand"/>
        <ex:TXT72    MaxLength="2" Width="40" PRE="  "  FontSize="16" Margin="10,0,0,0"  HorizontalAlignment="Left" Background="Pink"  CharacterCasing="Upper" TabIndex="11" 
                    Text="{Binding KRS,ElementName=TV}"
                    />
        <ex:TXT72  PRE="000000"   Text="{Binding LFD,ElementName=TV}" MaxLength="6" Width="80" FontSize="16" Margin="20,0,0,0"  HorizontalAlignment="Left"  />
        <WF:TBTNEXE DLL="YGRABDOC" CMD="YGRABDOC" STWNW="YGRABDOC" 
                    KEY="{Binding KEY,ElementName=TV}" 
                    INFO="打开生产管理"
                    IsInfo="True"
                    />
    </WrapPanel>
</me:UIAB50>
